// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_servermessages
// * CreateDate    : 2014-06-05 18:30:01
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:01
// * LastChanger   : 2014-06-05 18:30:01
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmServermessagesTable : TableInfo
    {
		public const string C_TableName = "hm_servermessages";
		
		public const string C_smid = "smid";
		public const string C_smname = "smname";
		public const string C_smtext = "smtext";
		
		public HmServermessagesTable()
        {
            _tableName = "hm_servermessages";
        }
		
		protected static HmServermessagesTable _current;
        public static HmServermessagesTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmServermessagesTable();

            _current.Add(C_smid, new ColumnInfo(C_smid,"Smid", true, typeof(int)));
            _current.Add(C_smname, new ColumnInfo(C_smname,"Smname", false, typeof(string)));
            _current.Add(C_smtext, new ColumnInfo(C_smtext,"Smtext", false, typeof(string)));
			
		}
		
		public ColumnInfo smid
        {
            get { return this[C_smid]; }
        }
		
		public ColumnInfo smname
        {
            get { return this[C_smname]; }
        }
		
		public ColumnInfo smtext
        {
            get { return this[C_smtext]; }
        }
		
		
		
	}
}

